package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallActivityGoodsDao;
import com.appkubes.mall.core.entity.MallActivityGoods;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallActivityGoodsService extends AbstractBaseService<BaseMallActivityGoodsDao, MallActivityGoods> {

    MallActivityGoods getOneByEntity(MallActivityGoods entity);

    List<MallActivityGoods> selectListByEntity(MallActivityGoods entity);

    IPage<MallActivityGoods> selectPageByEntity(IPage<MallActivityGoods> page);
    IPage<MallActivityGoods> selectPageByEntity(PageVO pageVO);

    IPage<MallActivityGoods> selectPageByEntity(MallActivityGoods entity, IPage<MallActivityGoods> page);
    IPage<MallActivityGoods> selectPageByEntity(MallActivityGoods entity, PageVO pageVO);

    IPage<MallActivityGoods> selectPageByEntity(MallActivityGoods entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallActivityGoods entity);
}
